Bug 589275 – [csw] Trying to destroy NULL regions
authorCody Russell <bratsche@gnome.org>
Tue, 21 Jul 2009 16:44:25 +0000 (11:44 -0500)
committerCody Russell <bratsche@gnome.org>
Tue, 21 Jul 2009 16:44:25 +0000 (11:44 -0500)
commitd84b575cd0a4cb411489007687086149c5c670cd
tree7655712b175ffd3438a14cb4e0dc1e30ed540cc4
parent18048308e48e2b8f72162bd76e3229f186e68b41
Bug 589275 – [csw] Trying to destroy NULL regions

gdk_window_input_shape_combine_mask() can accept NULL for the mask
parameter, but it wasn't checking for NULL before passing the
resulting GdkRegion to gdk_region_destroy().  Fixes #589275
gdk/gdkwindow.c